#include <bits/stdc++.h>
using namespace std;
int main(){
    char a;
    cin >> a;
    int b = a;
    if( b % 2 == 0)
        cout << "NO";
    else
        cout << "YES";
    return 0;
}